package com.zjg;
import java.io.Serializable;
import java.util.Map;

public class SingletonByInnerStaticClass
{
    private Map<Integer, String> configMap;

    private SingletonByInnerStaticClass(Map<Integer, String> configMap)
    {
	this.configMap = configMap;
    }

    private static class SingletonHolder
    {
	private static SingletonByInnerStaticClass instance = new SingletonByInnerStaticClass(ConfigReader.configMap);
    }

    public static SingletonByInnerStaticClass getInstance()
    {
	return SingletonHolder.instance;
    }
}
